//
//  CCAPulbicViewModel.h
//  Activity
//
//  Created by its on 15/5/11.
//  Copyright (c) 2015年 coco. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <ReactiveCocoa/ReactiveCocoa.h>

@interface CCAPublicViewModel : NSObject

@property (nonatomic, strong) NSMutableArray *imageArray; //image path array
@property (nonatomic, strong) NSString *money;
@property (nonatomic, copy) NSString *startDate;
@property (nonatomic, copy) NSString *endDate;
@property (nonatomic, copy) NSString *people;
@property (nonatomic, copy) NSString *address;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *content;

- (id) initWithModel:(id)model;
- (RACSignal *) titleHeight:(NSString *) str font:(UIFont *)font;
- (CGFloat) setTitleLineNumber:(NSString *) text font:(UIFont *) font;
/**
 *  发布活动
 *
 *  @return 
 */
- (RACSignal *) publicActivity;
@end
